package com.cyandpos.pad.refund.contract;


import com.cyandpos.pad.posdata.TicketInfo;

public class RefundContract {
    public interface View{
        void showProgress();
        void dismissDialog();
        void showErrMessage(String errorMsg);
        void onSucess(TicketInfo ticketInfo);
        String getOldSktNo();
        String getOldOrderNo();

    }

    public interface Presenter{
        void getOldTicket(boolean isOrderNum);
    }

    public interface Model{
        void getOldTicketInfo(String oldSktno, String oldTicketNo, boolean isOrderNum, OnCompleteListener completeListener);

        interface OnCompleteListener{
            void onSuccess(TicketInfo ticketInfo);
            void onFailure(String errorMsg);
        }
    }
}
